package com.aloda.constant;

public class RedisConstant {

    public static final String SESSION_ID = "dada:session_id:";
    public static final String VERIFY_IP = "ip:";
    public static final String VERIFY_KEY = "verify:key:";

    public static final String PHONE_CODE_KEY = "phone:";

    public static final String EMAIL_CODE_KEY = "email:";

    public static final String USER_TOKEN_KEY = "token:";

    public static final String ADD_APP_KEY = "add:app:";

    public static final String PV_KEY = "pv:";

    public static final String UV_KEY = "uv:";

    public static final String RATE_LIMIT_KEY = "rate_limit:";

    public static final String APP_BROWSE = "app:browse:";

    public static final int APP_BROWSE_SCORE = 1;

    public static final String RECOMMEND_KEY = "recommend_app_list:";

    public static final String CATEGORY_KEY = "category_list:";

    public static final int RECOMMEND_TIMEOUT = 24;

    public static final int CATEGORY_TIMEOUT = 24;

    public static final String APP_ANALYSIS_RESULT = "app:ana:result:";

    public static final String APP_ANALYSIS_ANSWER = "app:ana:answer:";

    public static final int APP_ANALYSIS_TIME_OUT = 1;

    public static final String APP_USER_ANSWER = "app:answer:";

    /**
     * 用户答案对应回答结果缓存时间 单位：小时
     */
    public static final int[] APP_USER_ANSWER_TIME = {1, 3};
}
